// import Inp from './componets/Inp.jsx'
import {useWinSize} from '@/hooks/useWinSize.js'
import {useGoTop} from '@/hooks/useGoTop.js'
function App(){
	var arr = new Array(100);
	arr.fill("new line",0);
	const size = useWinSize();
	const elem = useGoTop();
  return <div>
  <h1>vite</h1>
	{JSON.stringify(size)}
 
	 {arr.map((item,index)=><h1 key={index}>{index}</h1>)}
	 <p ref={elem}>top</p>
  </div>
}
export default App;